
server:     file format elf64-littleaarch64


Disassembly of section .init:

0000000000400868 <_init>:
  400868:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  40086c:	910003fd 	mov	x29, sp
  400870:	9400006a 	bl	400a18 <call_weak_fn>
  400874:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400878:	d65f03c0 	ret

Disassembly of section .plt:

0000000000400880 <.plt>:
  400880:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  400884:	b0000090 	adrp	x16, 411000 <__FRAME_END__+0x101ec>
  400888:	f947fe11 	ldr	x17, [x16, #4088]
  40088c:	913fe210 	add	x16, x16, #0xff8
  400890:	d61f0220 	br	x17
  400894:	d503201f 	nop
  400898:	d503201f 	nop
  40089c:	d503201f 	nop

00000000004008a0 <strlen@plt>:
  4008a0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4008a4:	f9400211 	ldr	x17, [x16]
  4008a8:	91000210 	add	x16, x16, #0x0
  4008ac:	d61f0220 	br	x17

00000000004008b0 <exit@plt>:
  4008b0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4008b4:	f9400611 	ldr	x17, [x16, #8]
  4008b8:	91002210 	add	x16, x16, #0x8
  4008bc:	d61f0220 	br	x17

00000000004008c0 <perror@plt>:
  4008c0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4008c4:	f9400a11 	ldr	x17, [x16, #16]
  4008c8:	91004210 	add	x16, x16, #0x10
  4008cc:	d61f0220 	br	x17

00000000004008d0 <listen@plt>:
  4008d0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4008d4:	f9400e11 	ldr	x17, [x16, #24]
  4008d8:	91006210 	add	x16, x16, #0x18
  4008dc:	d61f0220 	br	x17

00000000004008e0 <htonl@plt>:
  4008e0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4008e4:	f9401211 	ldr	x17, [x16, #32]
  4008e8:	91008210 	add	x16, x16, #0x20
  4008ec:	d61f0220 	br	x17

00000000004008f0 <bind@plt>:
  4008f0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4008f4:	f9401611 	ldr	x17, [x16, #40]
  4008f8:	9100a210 	add	x16, x16, #0x28
  4008fc:	d61f0220 	br	x17

0000000000400900 <inet_ntoa@plt>:
  400900:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400904:	f9401a11 	ldr	x17, [x16, #48]
  400908:	9100c210 	add	x16, x16, #0x30
  40090c:	d61f0220 	br	x17

0000000000400910 <atoi@plt>:
  400910:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400914:	f9401e11 	ldr	x17, [x16, #56]
  400918:	9100e210 	add	x16, x16, #0x38
  40091c:	d61f0220 	br	x17

0000000000400920 <ntohs@plt>:
  400920:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400924:	f9402211 	ldr	x17, [x16, #64]
  400928:	91010210 	add	x16, x16, #0x40
  40092c:	d61f0220 	br	x17

0000000000400930 <__libc_start_main@plt>:
  400930:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400934:	f9402611 	ldr	x17, [x16, #72]
  400938:	91012210 	add	x16, x16, #0x48
  40093c:	d61f0220 	br	x17

0000000000400940 <accept@plt>:
  400940:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400944:	f9402a11 	ldr	x17, [x16, #80]
  400948:	91014210 	add	x16, x16, #0x50
  40094c:	d61f0220 	br	x17

0000000000400950 <htons@plt>:
  400950:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400954:	f9402e11 	ldr	x17, [x16, #88]
  400958:	91016210 	add	x16, x16, #0x58
  40095c:	d61f0220 	br	x17

0000000000400960 <close@plt>:
  400960:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400964:	f9403211 	ldr	x17, [x16, #96]
  400968:	91018210 	add	x16, x16, #0x60
  40096c:	d61f0220 	br	x17

0000000000400970 <bzero@plt>:
  400970:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400974:	f9403611 	ldr	x17, [x16, #104]
  400978:	9101a210 	add	x16, x16, #0x68
  40097c:	d61f0220 	br	x17

0000000000400980 <__gmon_start__@plt>:
  400980:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400984:	f9403a11 	ldr	x17, [x16, #112]
  400988:	9101c210 	add	x16, x16, #0x70
  40098c:	d61f0220 	br	x17

0000000000400990 <write@plt>:
  400990:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  400994:	f9403e11 	ldr	x17, [x16, #120]
  400998:	9101e210 	add	x16, x16, #0x78
  40099c:	d61f0220 	br	x17

00000000004009a0 <abort@plt>:
  4009a0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4009a4:	f9404211 	ldr	x17, [x16, #128]
  4009a8:	91020210 	add	x16, x16, #0x80
  4009ac:	d61f0220 	br	x17

00000000004009b0 <socket@plt>:
  4009b0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4009b4:	f9404611 	ldr	x17, [x16, #136]
  4009b8:	91022210 	add	x16, x16, #0x88
  4009bc:	d61f0220 	br	x17

00000000004009c0 <printf@plt>:
  4009c0:	d0000090 	adrp	x16, 412000 <strlen@GLIBC_2.17>
  4009c4:	f9404a11 	ldr	x17, [x16, #144]
  4009c8:	91024210 	add	x16, x16, #0x90
  4009cc:	d61f0220 	br	x17

Disassembly of section .text:

00000000004009d0 <_start>:
  4009d0:	d280001d 	mov	x29, #0x0                   	// #0
  4009d4:	d280001e 	mov	x30, #0x0                   	// #0
  4009d8:	aa0003e5 	mov	x5, x0
  4009dc:	f94003e1 	ldr	x1, [sp]
  4009e0:	910023e2 	add	x2, sp, #0x8
  4009e4:	910003e6 	mov	x6, sp
  4009e8:	580000c0 	ldr	x0, 400a00 <_start+0x30>
  4009ec:	580000e3 	ldr	x3, 400a08 <_start+0x38>
  4009f0:	58000104 	ldr	x4, 400a10 <_start+0x40>
  4009f4:	97ffffcf 	bl	400930 <__libc_start_main@plt>
  4009f8:	97ffffea 	bl	4009a0 <abort@plt>
  4009fc:	00000000 	.inst	0x00000000 ; undefined
  400a00:	00400acc 	.word	0x00400acc
  400a04:	00000000 	.word	0x00000000
  400a08:	00400cc8 	.word	0x00400cc8
  400a0c:	00000000 	.word	0x00000000
  400a10:	00400d48 	.word	0x00400d48
  400a14:	00000000 	.word	0x00000000

0000000000400a18 <call_weak_fn>:
  400a18:	b0000080 	adrp	x0, 411000 <__FRAME_END__+0x101ec>
  400a1c:	f947f000 	ldr	x0, [x0, #4064]
  400a20:	b4000040 	cbz	x0, 400a28 <call_weak_fn+0x10>
  400a24:	17ffffd7 	b	400980 <__gmon_start__@plt>
  400a28:	d65f03c0 	ret
  400a2c:	00000000 	.inst	0x00000000 ; undefined

0000000000400a30 <deregister_tm_clones>:
  400a30:	d0000080 	adrp	x0, 412000 <strlen@GLIBC_2.17>
  400a34:	9102a000 	add	x0, x0, #0xa8
  400a38:	d0000081 	adrp	x1, 412000 <strlen@GLIBC_2.17>
  400a3c:	9102a021 	add	x1, x1, #0xa8
  400a40:	eb00003f 	cmp	x1, x0
  400a44:	540000a0 	b.eq	400a58 <deregister_tm_clones+0x28>  // b.none
  400a48:	90000001 	adrp	x1, 400000 <_init-0x868>
  400a4c:	f946b421 	ldr	x1, [x1, #3432]
  400a50:	b4000041 	cbz	x1, 400a58 <deregister_tm_clones+0x28>
  400a54:	d61f0020 	br	x1
  400a58:	d65f03c0 	ret
  400a5c:	d503201f 	nop

0000000000400a60 <register_tm_clones>:
  400a60:	d0000080 	adrp	x0, 412000 <strlen@GLIBC_2.17>
  400a64:	9102a000 	add	x0, x0, #0xa8
  400a68:	d0000081 	adrp	x1, 412000 <strlen@GLIBC_2.17>
  400a6c:	9102a021 	add	x1, x1, #0xa8
  400a70:	cb000021 	sub	x1, x1, x0
  400a74:	9343fc21 	asr	x1, x1, #3
  400a78:	8b41fc21 	add	x1, x1, x1, lsr #63
  400a7c:	9341fc21 	asr	x1, x1, #1
  400a80:	b40000a1 	cbz	x1, 400a94 <register_tm_clones+0x34>
  400a84:	90000002 	adrp	x2, 400000 <_init-0x868>
  400a88:	f946b842 	ldr	x2, [x2, #3440]
  400a8c:	b4000042 	cbz	x2, 400a94 <register_tm_clones+0x34>
  400a90:	d61f0040 	br	x2
  400a94:	d65f03c0 	ret

0000000000400a98 <__do_global_dtors_aux>:
  400a98:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  400a9c:	910003fd 	mov	x29, sp
  400aa0:	f9000bf3 	str	x19, [sp, #16]
  400aa4:	d0000093 	adrp	x19, 412000 <strlen@GLIBC_2.17>
  400aa8:	3942a260 	ldrb	w0, [x19, #168]
  400aac:	35000080 	cbnz	w0, 400abc <__do_global_dtors_aux+0x24>
  400ab0:	97ffffe0 	bl	400a30 <deregister_tm_clones>
  400ab4:	52800020 	mov	w0, #0x1                   	// #1
  400ab8:	3902a260 	strb	w0, [x19, #168]
  400abc:	f9400bf3 	ldr	x19, [sp, #16]
  400ac0:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400ac4:	d65f03c0 	ret

0000000000400ac8 <frame_dummy>:
  400ac8:	17ffffe6 	b	400a60 <register_tm_clones>

0000000000400acc <main>:
  400acc:	a9b87bfd 	stp	x29, x30, [sp, #-128]!
  400ad0:	910003fd 	mov	x29, sp
  400ad4:	f9000bf3 	str	x19, [sp, #16]
  400ad8:	b9002fa0 	str	w0, [x29, #44]
  400adc:	f90013a1 	str	x1, [x29, #32]
  400ae0:	90000000 	adrp	x0, 400000 <_init-0x868>
  400ae4:	9137e001 	add	x1, x0, #0xdf8
  400ae8:	9100c3a0 	add	x0, x29, #0x30
  400aec:	a9400c22 	ldp	x2, x3, [x1]
  400af0:	a9000c02 	stp	x2, x3, [x0]
  400af4:	f9400822 	ldr	x2, [x1, #16]
  400af8:	f9000802 	str	x2, [x0, #16]
  400afc:	79403021 	ldrh	w1, [x1, #24]
  400b00:	79003001 	strh	w1, [x0, #24]
  400b04:	b9402fa0 	ldr	w0, [x29, #44]
  400b08:	7100081f 	cmp	w0, #0x2
  400b0c:	54000121 	b.ne	400b30 <main+0x64>  // b.any
  400b10:	f94013a0 	ldr	x0, [x29, #32]
  400b14:	91002000 	add	x0, x0, #0x8
  400b18:	f9400000 	ldr	x0, [x0]
  400b1c:	97ffff7d 	bl	400910 <atoi@plt>
  400b20:	b9007fa0 	str	w0, [x29, #124]
  400b24:	b9407fa0 	ldr	w0, [x29, #124]
  400b28:	7100001f 	cmp	w0, #0x0
  400b2c:	5400010a 	b.ge	400b4c <main+0x80>  // b.tcont
  400b30:	f94013a0 	ldr	x0, [x29, #32]
  400b34:	f9400001 	ldr	x1, [x0]
  400b38:	90000000 	adrp	x0, 400000 <_init-0x868>
  400b3c:	9135e000 	add	x0, x0, #0xd78
  400b40:	97ffffa0 	bl	4009c0 <printf@plt>
  400b44:	52800020 	mov	w0, #0x1                   	// #1
  400b48:	97ffff5a 	bl	4008b0 <exit@plt>
  400b4c:	52800002 	mov	w2, #0x0                   	// #0
  400b50:	52800021 	mov	w1, #0x1                   	// #1
  400b54:	52800040 	mov	w0, #0x2                   	// #2
  400b58:	97ffff96 	bl	4009b0 <socket@plt>
  400b5c:	b9007ba0 	str	w0, [x29, #120]
  400b60:	b9407ba0 	ldr	w0, [x29, #120]
  400b64:	3100041f 	cmn	w0, #0x1
  400b68:	540000c1 	b.ne	400b80 <main+0xb4>  // b.any
  400b6c:	90000000 	adrp	x0, 400000 <_init-0x868>
  400b70:	91362000 	add	x0, x0, #0xd88
  400b74:	97ffff53 	bl	4008c0 <perror@plt>
  400b78:	52800020 	mov	w0, #0x1                   	// #1
  400b7c:	97ffff4d 	bl	4008b0 <exit@plt>
  400b80:	910183a0 	add	x0, x29, #0x60
  400b84:	d2800201 	mov	x1, #0x10                  	// #16
  400b88:	97ffff7a 	bl	400970 <bzero@plt>
  400b8c:	52800040 	mov	w0, #0x2                   	// #2
  400b90:	7900c3a0 	strh	w0, [x29, #96]
  400b94:	52800000 	mov	w0, #0x0                   	// #0
  400b98:	97ffff52 	bl	4008e0 <htonl@plt>
  400b9c:	b90067a0 	str	w0, [x29, #100]
  400ba0:	b9407fa0 	ldr	w0, [x29, #124]
  400ba4:	12003c00 	and	w0, w0, #0xffff
  400ba8:	97ffff6a 	bl	400950 <htons@plt>
  400bac:	12003c00 	and	w0, w0, #0xffff
  400bb0:	7900c7a0 	strh	w0, [x29, #98]
  400bb4:	910183a0 	add	x0, x29, #0x60
  400bb8:	52800202 	mov	w2, #0x10                  	// #16
  400bbc:	aa0003e1 	mov	x1, x0
  400bc0:	b9407ba0 	ldr	w0, [x29, #120]
  400bc4:	97ffff4b 	bl	4008f0 <bind@plt>
  400bc8:	3100041f 	cmn	w0, #0x1
  400bcc:	540000c1 	b.ne	400be4 <main+0x118>  // b.any
  400bd0:	90000000 	adrp	x0, 400000 <_init-0x868>
  400bd4:	91366000 	add	x0, x0, #0xd98
  400bd8:	97ffff3a 	bl	4008c0 <perror@plt>
  400bdc:	52800020 	mov	w0, #0x1                   	// #1
  400be0:	97ffff34 	bl	4008b0 <exit@plt>
  400be4:	52800081 	mov	w1, #0x4                   	// #4
  400be8:	b9407ba0 	ldr	w0, [x29, #120]
  400bec:	97ffff39 	bl	4008d0 <listen@plt>
  400bf0:	3100041f 	cmn	w0, #0x1
  400bf4:	540000c1 	b.ne	400c0c <main+0x140>  // b.any
  400bf8:	90000000 	adrp	x0, 400000 <_init-0x868>
  400bfc:	9136a000 	add	x0, x0, #0xda8
  400c00:	97ffff30 	bl	4008c0 <perror@plt>
  400c04:	52800020 	mov	w0, #0x1                   	// #1
  400c08:	97ffff2a 	bl	4008b0 <exit@plt>
  400c0c:	52800200 	mov	w0, #0x10                  	// #16
  400c10:	b90073a0 	str	w0, [x29, #112]
  400c14:	9101c3a1 	add	x1, x29, #0x70
  400c18:	910143a0 	add	x0, x29, #0x50
  400c1c:	aa0103e2 	mov	x2, x1
  400c20:	aa0003e1 	mov	x1, x0
  400c24:	b9407ba0 	ldr	w0, [x29, #120]
  400c28:	97ffff46 	bl	400940 <accept@plt>
  400c2c:	b90077a0 	str	w0, [x29, #116]
  400c30:	b94077a0 	ldr	w0, [x29, #116]
  400c34:	3100041f 	cmn	w0, #0x1
  400c38:	540000c1 	b.ne	400c50 <main+0x184>  // b.any
  400c3c:	90000000 	adrp	x0, 400000 <_init-0x868>
  400c40:	9136e000 	add	x0, x0, #0xdb8
  400c44:	97ffff1f 	bl	4008c0 <perror@plt>
  400c48:	52800020 	mov	w0, #0x1                   	// #1
  400c4c:	97ffff19 	bl	4008b0 <exit@plt>
  400c50:	b94057a0 	ldr	w0, [x29, #84]
  400c54:	97ffff2b 	bl	400900 <inet_ntoa@plt>
  400c58:	aa0003f3 	mov	x19, x0
  400c5c:	7940a7a0 	ldrh	w0, [x29, #82]
  400c60:	97ffff30 	bl	400920 <ntohs@plt>
  400c64:	12003c00 	and	w0, w0, #0xffff
  400c68:	2a0003e1 	mov	w1, w0
  400c6c:	90000000 	adrp	x0, 400000 <_init-0x868>
  400c70:	91372000 	add	x0, x0, #0xdc8
  400c74:	2a0103e2 	mov	w2, w1
  400c78:	aa1303e1 	mov	x1, x19
  400c7c:	97ffff51 	bl	4009c0 <printf@plt>
  400c80:	9100c3a0 	add	x0, x29, #0x30
  400c84:	97ffff07 	bl	4008a0 <strlen@plt>
  400c88:	aa0003e1 	mov	x1, x0
  400c8c:	9100c3a0 	add	x0, x29, #0x30
  400c90:	aa0103e2 	mov	x2, x1
  400c94:	aa0003e1 	mov	x1, x0
  400c98:	b94077a0 	ldr	w0, [x29, #116]
  400c9c:	97ffff3d 	bl	400990 <write@plt>
  400ca0:	b100041f 	cmn	x0, #0x1
  400ca4:	540000c1 	b.ne	400cbc <main+0x1f0>  // b.any
  400ca8:	90000000 	adrp	x0, 400000 <_init-0x868>
  400cac:	9137a000 	add	x0, x0, #0xde8
  400cb0:	97ffff04 	bl	4008c0 <perror@plt>
  400cb4:	52800020 	mov	w0, #0x1                   	// #1
  400cb8:	97fffefe 	bl	4008b0 <exit@plt>
  400cbc:	b94077a0 	ldr	w0, [x29, #116]
  400cc0:	97ffff28 	bl	400960 <close@plt>
  400cc4:	17ffffd2 	b	400c0c <main+0x140>

0000000000400cc8 <__libc_csu_init>:
  400cc8:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  400ccc:	910003fd 	mov	x29, sp
  400cd0:	a901d7f4 	stp	x20, x21, [sp, #24]
  400cd4:	b0000094 	adrp	x20, 411000 <__FRAME_END__+0x101ec>
  400cd8:	b0000095 	adrp	x21, 411000 <__FRAME_END__+0x101ec>
  400cdc:	91374294 	add	x20, x20, #0xdd0
  400ce0:	913722b5 	add	x21, x21, #0xdc8
  400ce4:	a902dff6 	stp	x22, x23, [sp, #40]
  400ce8:	cb150294 	sub	x20, x20, x21
  400cec:	f9001ff8 	str	x24, [sp, #56]
  400cf0:	2a0003f6 	mov	w22, w0
  400cf4:	aa0103f7 	mov	x23, x1
  400cf8:	9343fe94 	asr	x20, x20, #3
  400cfc:	aa0203f8 	mov	x24, x2
  400d00:	97fffeda 	bl	400868 <_init>
  400d04:	b4000194 	cbz	x20, 400d34 <__libc_csu_init+0x6c>
  400d08:	f9000bb3 	str	x19, [x29, #16]
  400d0c:	d2800013 	mov	x19, #0x0                   	// #0
  400d10:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  400d14:	aa1803e2 	mov	x2, x24
  400d18:	aa1703e1 	mov	x1, x23
  400d1c:	2a1603e0 	mov	w0, w22
  400d20:	91000673 	add	x19, x19, #0x1
  400d24:	d63f0060 	blr	x3
  400d28:	eb13029f 	cmp	x20, x19
  400d2c:	54ffff21 	b.ne	400d10 <__libc_csu_init+0x48>  // b.any
  400d30:	f9400bb3 	ldr	x19, [x29, #16]
  400d34:	a941d7f4 	ldp	x20, x21, [sp, #24]
  400d38:	a942dff6 	ldp	x22, x23, [sp, #40]
  400d3c:	f9401ff8 	ldr	x24, [sp, #56]
  400d40:	a8c47bfd 	ldp	x29, x30, [sp], #64
  400d44:	d65f03c0 	ret

0000000000400d48 <__libc_csu_fini>:
  400d48:	d65f03c0 	ret

Disassembly of section .fini:

0000000000400d4c <_fini>:
  400d4c:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400d50:	910003fd 	mov	x29, sp
  400d54:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400d58:	d65f03c0 	ret
